/*筛选*/
mui(".detail-select ul li").each(function(index,item){
	item.addEventListener("tap",function(){
		if(this.className!="active")
		{
			this.parentNode.querySelector(".active").className="";
			this.className="active";
			selectMethod(this.getAttribute("data-js"));
//			var html = template(this.getAttribute("data-js"),selectMethod(this.getAttribute("data-js")));
//			mui("#conWrap")[0].innerHTML=html;
		}
	 })
})
template.helper("toArray",function(num){  
	var num = parseInt(num);	
	var arr=new Array(num);
    return arr;  
});  